<%@ page language="java"  pageEncoding="utf-8"%>
<%@taglib uri="/WEB-INF/struts-tags.tld" prefix="s"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>读短信</title>
<%@include file="../common/jscss.jsp" %>
</head>

<body>
	<!-- head -->
	<%@include file="../common/header.jsp" %>
    <!-- head--end -->
   <div class="content">
    	<div class="body_wrap clearfix">
            <div class="com_left">
            	<div class="com_pd_s1">
                	<div class="box_s2">
                    	<div class="title"><img src="images/other/icon_10.jpg" /><span>读短信</span></div>
                        <div class="content">
                        	<table class="form_info">
                            	<tbody>
                            	<tr>
                                	<td width="87" class="col1">发信人：</td>
                                    <td><input type="text" id="rmember" name="message.rmember" class="def_txt_s1" value="<s:property value="message.susername"/>"/></td>
                                </tr>
                                <tr>
                                	<td width="87" class="col1 vt">内容：</td>
                                    <td>
                                    	<textarea class="def_ta" id="content" name="message.content"><s:property value="message.content"/></textarea>
                                        <div class="operate">
                                        	<input type="button" value="关闭" class="def_btn_s1" onclick="closemessage();"/>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                	<td></td>
                                	<td >
                                    	<ul class="attach_list" id="attach_list">
                                    		<s:iterator id="attach" value="message.attachList" status="status">
                                    			<li><a href="<s:property value="#request.basePath"/><s:property value="path"/>" target="_blank"><s:property value="name"/></a></li>
                                    		</s:iterator>
                            			</ul>
                                    </td>
                                </tr>
                            </tbody></table>
                        </div>
                    </div>
                    
                </div>
            </div>
            
            <!-- right -->
            <%@include file="right.jsp" %>
            <!--right--end-->
            <br class="clear">
        </div>
    </div>
    <!-- body -->
    <script type="text/javascript">
    	function closemessage(){
    		window.location.href = "message!receivebox.do";
    	}
    </script>
</body>
</html>
